<?php echo "<?php \r\n"; ?>
/**
 * @file			<?php echo $name;?>.api.php
 * @CopyRight		(C)1996-2099 SINA Inc.
 * @Project			自游网
 * @Author			liujz <jianzhou@staff.sina.com.cn>
 * @Create Date:	<?php echo date('Y-m-d')."\r\n";?>
 * @Modified By:	jianzhou/<?php echo date('Y-m-d')."\r\n";?>
 * @Brief			<?php echo $desc."\r\n"; ?>
 */
//-----------------------------------------------------------------
/**
* <?php echo $desc."\r\n"; ?>
* 
* @param string $p[email]  必填，邮箱
* @return array
*/
//-----------------------------------------------------------------

function API__<?php echo "{$path}__{$name}";?>($p)
{
	/** API 权限策略检查  **/
	vApi::policy("method=post");

	
	/** Check Data  **/ 
	$var = vApi::param($p,'var');
	if( empty($var) ){
		vApi::throwException('414501','xx为空');
	}
	
	
	/** Get & Return  **/ 
	$oBase = vApi::getBase('<?php echo $baseName?>');
	$rst   = $oBase->funName($params);
	
	return $rst;
}